﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UserDefineFunction
{
    public class SourceQuantityOperator
    {
        public string[] GetQuantities()
        {
            return FunctionLib.DBOperator.InfluxDBClient.CreatDBClient().GetTags("QuantityID").ToArray();
        }
        public string[] GetSources()
        {
            return FunctionLib.DBOperator.InfluxDBClient.CreatDBClient().GetTags("SourceID").ToArray();
        }
    }
}
